/*app端使用此解构会报错 */
const { http } = uni.$u;
export const getBannerApi = (param) => http.get("/home/banner", { param });
// 获取新鲜好物
export const getNewGoddsApi = (params) => http.get("/home/new", { params });
// 猜你喜欢
export const getGuessYouLikeApi = (params) =>
  http.get("/home/goods/guessLike", { params });
// 爆款好物
export const gethotApi = (params) =>
  http.get("/hot/inVogue", { params });
// 猜你喜欢
export const uploadFile = (params) =>
  http.post("/member/profile/avatar", params);
// 获取用户信息
export const getUserInfoApi = (params) =>
  http.post("/user/login/" + params.id, params);
